package com.openweixin.sheknows.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体类-登入日志 
 * @注意事项  无
 * @author 刘思作
 * @version 1.0.0 2014-04-02
 * @since 1.0.0
 */

@Entity
@Table(name = "user_login_log")
public class UserLoginLog {

	private Integer uid;// 用户id
	private String username;// 用户名
	private String name;//
	private String useip1;// 登陆ip
	private java.sql.Timestamp logintime;// 登录时间
	private String useip2;// 登出ip，如果记录到登出
	private java.sql.Timestamp logouttime;// 登出时间

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "uid")
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Column(name = "username")
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "name")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "useip1")
	public String getUseip1() {
		return this.useip1;
	}

	public void setUseip1(String useip1) {
		this.useip1 = useip1;
	}

	@Column(name = "logintime")
	public java.sql.Timestamp getLogintime() {
		return this.logintime;
	}

	public void setLogintime(java.sql.Timestamp logintime) {
		this.logintime = logintime;
	}

	@Column(name = "useip2")
	public String getUseip2() {
		return this.useip2;
	}

	public void setUseip2(String useip2) {
		this.useip2 = useip2;
	}

	@Column(name = "logouttime")
	public java.sql.Timestamp getLogouttime() {
		return this.logouttime;
	}

	public void setLogouttime(java.sql.Timestamp logouttime) {
		this.logouttime = logouttime;
	}

}